Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 3794e5806bcd5f9cf21e420d011e6084020a55a4


Parents : ea7ef09
Author : Sudo-Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-01-01T20:17:47-06:00

feat(call): add call start time to response and update call status handling in voicemail manager

Changes

3 files changed, 11 insertions(+), 1 deletions(-)


Diff

diff --git a/meshchatx/meshchat.py b/meshchatx/meshchat.py
index 516762e6..9b9db86b 100644
--- a/meshchatx/meshchat.py
+++ b/meshchatx/meshchat.py
@@ -3047,6 +3047,7 @@ class ReticulumMeshChat:
"is_mic_muted": self.telephone_manager.telephone.transmit_muted,
"is_speaker_muted": self.telephone_manager.telephone.receive_muted,
"is_voicemail": self.voicemail_manager.is_recording,
+ "call_start_time": self.telephone_manager.call_start_time,
}
return web.json_response(

diff --git a/meshchatx/src/backend/telephone_manager.py b/meshchatx/src/backend/telephone_manager.py
index 9b967bdd..9320affd 100644
--- a/meshchatx/src/backend/telephone_manager.py
+++ b/meshchatx/src/backend/telephone_manager.py
@@ -6,6 +6,15 @@ from LXST import Telephone
class TelephoneManager:
+ # LXST Status Constants for reference:
+ # 0: STATUS_BUSY
+ # 1: STATUS_REJECTED
+ # 2: STATUS_CALLING
+ # 3: STATUS_AVAILABLE
+ # 4: STATUS_RINGING
+ # 5: STATUS_CONNECTING
+ # 6: STATUS_ESTABLISHED
+
def __init__(self, identity: RNS.Identity, config_manager=None):
self.identity = identity
self.config_manager = config_manager

diff --git a/meshchatx/src/backend/voicemail_manager.py b/meshchatx/src/backend/voicemail_manager.py
index 91a9f7ae..ffa25c30 100644
--- a/meshchatx/src/backend/voicemail_manager.py
+++ b/meshchatx/src/backend/voicemail_manager.py
@@ -213,7 +213,7 @@ class VoicemailManager:
and telephone.active_call
and telephone.active_call.get_remote_identity().hash
== caller_identity.hash
- and telephone.call_status == LXST.Signalling.STATUS_RINGING
+ and telephone.call_status == 4 # Ringing
):
RNS.log(
f"Auto-answering call from {RNS.prettyhexrep(caller_identity.hash)} for voicemail",


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────